<?php
class etudiant {
//test d'envoi
	public $idEtu;
	public $nom;
	public $prenom;
	//public $email;
	//public $mdp;
	//public $date_inscription;
	public $admin;
		
	public function getStud($email, $mdp) {
	
	if ($email = 'khalilka@hotmail.fr' && $mdp = 'ka') 
		{
			$id_etu = 16;
		}
	else {$id_etu = 0; }
	
	return $id_etu;
	}
	
	
	public function updateLogin($id_etu) {
	
	if ($id_etu = 16) 
		{
			echo "Nous sommes le : ". date("d / m / Y"); 
		}
		
	}
	
}